package com.ruoyi.record.domain;

import java.util.List;

import com.baomidou.mybatisplus.annotation.*;

import javax.validation.constraints.NotBlank;

import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 保险金对象 record_benefit
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("record_benefit")
public class RecordBenefit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险金id */
    @TableId(type = IdType.AUTO)
    private Long benefitId;

    /** 保险金月份 */
    @NotBlank(message = "保险金月份不能为空")
    @Excel(name = "保险金月份")
    private String benefitMonth;

    /** 删除状态（0正常2删除） */
    @TableLogic
    private String delFlag;

    /** 保险金内容信息 */
    @TableField(exist = false)
    private List<RecordBenefitContent> recordBenefitContentList;

}
